package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
@TableName("order_extension")
public class OrderExtension implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "extension_id", type = IdType.AUTO)
    private Long extensionId;

    private Long orderId;

    private Integer extensionTimes;

    private BigDecimal extensionFee;

    private String extensionStatus;

    private LocalDateTime applyTime;

    private LocalDateTime approveTime;

    private String extensionTradeNo;

    public String getExtensionTradeNo() {
        return extensionTradeNo;
    }

    public void setExtensionTradeNo(String extensionTradeNo) {
        this.extensionTradeNo = extensionTradeNo;
    }

    public Long getExtensionId() {
        return extensionId;
    }

    public void setExtensionId(Long extensionId) {
        this.extensionId = extensionId;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getExtensionTimes() {
        return extensionTimes;
    }

    public void setExtensionTimes(Integer extensionTimes) {
        this.extensionTimes = extensionTimes;
    }
    public BigDecimal getExtensionFee() {
        return extensionFee;
    }

    public void setExtensionFee(BigDecimal extensionFee) {
        this.extensionFee = extensionFee;
    }
    public String getExtensionStatus() {
        return extensionStatus;
    }

    public void setExtensionStatus(String extensionStatus) {
        this.extensionStatus = extensionStatus;
    }
    public LocalDateTime getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(LocalDateTime applyTime) {
        this.applyTime = applyTime;
    }
    public LocalDateTime getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(LocalDateTime approveTime) {
        this.approveTime = approveTime;
    }

    @Override
    public String toString() {
        return "OrderExtension{" +
            "extensionId=" + extensionId +
            ", orderId=" + orderId +
            ", extensionTimes=" + extensionTimes +
            ", extensionFee=" + extensionFee +
            ", extensionStatus=" + extensionStatus +
            ", applyTime=" + applyTime +
            ", approveTime=" + approveTime +
            ", extensionTradeNo= "+extensionTradeNo +
        "}";
    }
}
